

#import <UIKit/UIKit.h>

@interface UIBarButtonItem (SH)
/**
 *  快速创建一个显示图片的item
 *
 *  @param action   监听方法
 */
+ (UIBarButtonItem *)itemWithIcon:(NSString *)icon target:(id)target action:(SEL)action; // 左边

+ (UIBarButtonItem *)rightItemWithIcon:(NSString *)icon target:(id)target action:(SEL)action; //右边

+ (UIBarButtonItem *)rightItemWithTitle:(NSString *)rightTitle target:(id)target action:(SEL)action; // 右边文字

+ (UIBarButtonItem *)itemWithTitle:(NSString *)title target:(id)target action:(SEL)action;

@end
